package com.moss.common.entity;

import com.moss.common.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SysSampleOrgEntity extends BaseEntity {

    private Long id;

    @NotNull(message = "采样机构名称不能为空")
    private String sampleOrgName;

    @NotNull(message = "采样机构编码不能为空")
    private String sampleOrgCode;

    @NotNull(message = "联系人不能为空")
    private String contactName;

    @NotNull(message = "联系方式不能为空")
    private String phone;

    private String address;
}
